-
Notifications
You must be signed in to change notification settings - Fork 90
3.0.0-M3 Logging Date Format #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thank you for this contribution @ravig-kant 🚀
|
||
@Override | ||
public String getDescription() { | ||
return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a description "Check if 'logging.pattern.dateformat' is declared."
@@ -28,8 +28,8 @@ public class SpringBootDefaultPropertiesFinder implements ProjectResourceFinder< | |||
@Override | |||
public Optional<SpringBootApplicationProperties> apply(ProjectResourceSet projectResourceSet) { | |||
return projectResourceSet.stream() | |||
.filter(r -> r.getSourceFile() instanceof Properties.File) | |||
.map(r -> new SpringBootApplicationProperties(r.getAbsoluteProjectDir(), (Properties.File) r.getSourceFile())) | |||
.filter(r -> r instanceof SpringBootApplicationProperties) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be filter(SpringBootApplicationProperties.class::isInstance)
No description provided.